←Select platform

Serialize<T> Method

Summary

Serializes the specified object to an xml file.

Syntax

C#
VB
C++
public static void Serialize<T>( 
   T obj, 
   string filename 
) 
  
Public Shared Sub Serialize(Of T)( _ 
   ByVal obj As T, _ 
   ByVal filename As String _ 
)  
public: 
static void Serializegeneric<typename T> 
(  
   _T^_ obj, 
   String^ filename 
)  

Parameters

obj
The object to serialize.

filename
The xml to store the serialized object.

Type Parameters

T
The type of object to serialize.

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly